package com.itheima.stock.exception;

import com.itheima.stock.enums.Code;

/**
 * @文件名: Exceptions
 * @作者: DX
 * @创建日期: 2025/11/5
 * @描述:
 */
public class Exceptions {

    private Exceptions() {
    }

    public static void cast(Code code) {
        throw new StockException(code);
    }
}
